import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'


import axios from 'axios';
Vue.prototype.$axios = axios;
//引入 axios 请求

import http from "./http/http.js";
Vue.prototype.$http = http;
//引入 http 请求

import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);
//引入 vant 布局

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
//全局 引入 ElementUI 布局

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')